import request from '@/utils/request'

// 餐饮行业 分页
export function cateringPage(data) {
    return request({
        url: '/noent/catering/page',
        method: 'post',
        data: data
    })
}

// 餐饮行业 详情
export function cateringInfo(cateringIndustryId) {
    return request({
        url: `/noent/catering/info/${cateringIndustryId}`,
        method: 'get',
    })
}

// 餐饮行业 新增
export function cateringAdd(data) {
    return request({
        url: `/noent/catering/add`,
        method: 'post',
        data: data
    })
}

// 餐饮行业 编辑
export function cateringEdit(data) {
    return request({
        url: `/noent/catering/edit`,
        method: 'post',
        data: data
    })
}


// 汽修类 分页
export function repairingPage(data) {
    return request({
        url: '/noent/vehicle/repairing/page',
        method: 'post',
        data: data
    })
}

// 汽修类 详情
export function repairingInfo(vehicleRepairingId) {
    return request({
        url: `/noent/vehicle/repairing/info/${vehicleRepairingId}`,
        method: 'get',
    })
}

// 汽修类 新增
export function repairingAdd(data) {
    return request({
        url: `/noent/vehicle/repairing/add`,
        method: 'post',
        data: data
    })
}

// 汽修类 编辑
export function repairingEdit(data) {
    return request({
        url: `/noent/vehicle/repairing/edit`,
        method: 'post',
        data: data
    })
}


// 生活源锅炉 分页
export function boilerPage(data) {
    return request({
        url: '/noent/domestic/boiler/page',
        method: 'post',
        data: data
    })
}

// 生活源锅炉 详情
export function boilerInfo(domesticBoilerId) {
    return request({
        url: `/noent/domestic/boiler/info/${domesticBoilerId}`,
        method: 'get',
    })
}

// 生活源锅炉 新增
export function boilerAdd(data) {
    return request({
        url: `/noent/domestic/boiler/add`,
        method: 'post',
        data: data
    })
}

// 生活源锅炉 编辑
export function boilerEdit(data) {
    return request({
        url: `/noent/domestic/boiler/edit`,
        method: 'post',
        data: data
    })
}


// 干洗 分页
export function drycleaningPage(data) {
    return request({
        url: '/noent/drycleaning/page',
        method: 'post',
        data: data
    })
}
// 干洗 详情
export function drycleaningInfo(dryCleaningId) {
    return request({
        url: `/noent/drycleaning/info/${dryCleaningId}`,
        method: 'get',
    })
}

// 干洗 新增
export function drycleaningAdd(data) {
    return request({
        url: `/noent/drycleaning/add`,
        method: 'post',
        data: data
    })
}

// 干洗 编辑
export function drycleaningEdit(data) {
    return request({
        url: `/noent/drycleaning/edit`,
        method: 'post',
        data: data
    })
}


// 工地 分页
export function buildingPage(data) {
    return request({
        url: '/noent/building/page',
        method: 'post',
        data: data
    })
}
// 工地 详情
export function buildingInfo(buildingId) {
    return request({
        url: `/noent/building/info/${buildingId}`,
        method: 'get',
    })
}

// 工地 新增
export function buildingAdd(data) {
    return request({
        url: `/noent/building/add`,
        method: 'post',
        data: data
    })
}

// 工地 编辑
export function buildingEdit(data) {
    return request({
        url: `/noent/building/edit`,
        method: 'post',
        data: data
    })
}


// 污染地块 分页
export function areaPage(data) {
    return request({
        url: '/noent/contaminated/area/page',
        method: 'post',
        data: data
    })
}
// 污染地块 详情
export function areaInfo(contaminatedAreaId) {
    return request({
        url: `/noent/contaminated/area/info/${contaminatedAreaId}`,
        method: 'get',
    })
}

// 污染地块 新增
export function areaAdd(data) {
    return request({
        url: `/noent/contaminated/area/add`,
        method: 'post',
        data: data
    })
}

// 污染地块 编辑
export function areaEdit(data) {
    return request({
        url: `/noent/contaminated/area/edit`,
        method: 'post',
        data: data
    })
}

// 用车大户 分页
export function userPage(data) {
    return request({
        url: '/noent/vehicle/user/page',
        method: 'post',
        data: data
    })
}
// 用车大户 详情
export function userInfo(vehicleRichUserId) {
    return request({
        url: `/noent/vehicle/user/info/${vehicleRichUserId}`,
        method: 'get',
    })
}

// 用车大户 新增
export function userAdd(data) {
    return request({
        url: `/noent/vehicle/user/add`,
        method: 'post',
        data: data
    })
}

// 用车大户 编辑
export function userEdit(data) {
    return request({
        url: `/noent/vehicle/user/edit`,
        method: 'post',
        data: data
    })
}




// 堆场、弃土场 分页
export function yardPage(data) {
    return request({
        url: '/noent/yard/page',
        method: 'post',
        data: data
    })
}
// 堆场、弃土场 详情
export function yardInfo(yardSpoilGroundId) {
    return request({
        url: `/noent/yard/info/${yardSpoilGroundId}`,
        method: 'get',
    })
}

// 堆场、弃土场 新增
export function yardAdd(data) {
    return request({
        url: `/noent/yard/add`,
        method: 'post',
        data: data
    })
}

// 堆场、弃土场 编辑
export function yardEdit(data) {
    return request({
        url: `/noent/yard/edit`,
        method: 'post',
        data: data
    })
}


// 其他 分页
export function otherPage(data) {
    return request({
        url: '/noent/other/page',
        method: 'post',
        data: data
    })
}
// 其他 详情
export function otherInfo(noentOtherId) {
    return request({
        url: `/noent/other/info/${noentOtherId}`,
        method: 'get',
    })
}

// 其他 新增
export function otherAdd(data) {
    return request({
        url: `/noent/other/add`,
        method: 'post',
        data: data
    })
}

// 其他 编辑
export function otherEdit(data) {
    return request({
        url: `/noent/other/edit`,
        method: 'post',
        data: data
    })
}



// 餐饮行业 删除
export function cateringDel(cateringIndustryId) {
    return request({
        url: `/noent/catering/del/${cateringIndustryId}`,
        method: 'get'
    })
}
// 汽修类 删除
export function repairingDel(vehicleRepairingId) {
    return request({
        url: `/noent/vehicle/repairing/del/${vehicleRepairingId}`,
        method: 'get'
    })
}
// 生活源锅炉  删除
export function boilerDel(domesticBoilerId) {
    return request({
        url: `/noent/domestic/boiler/del/${domesticBoilerId}`,
        method: 'get'
    })
}
// 干洗  删除
export function drycleaningDel(dryCleaningId) {
    return request({
        url: `/noent/drycleaning/del/${dryCleaningId}`,
        method: 'get'
    })
}
// 工地  删除
export function buildingDel(buildingId) {
    return request({
        url: `/noent/building/del/${buildingId}`,
        method: 'get'
    })
}
// 污染地块  删除
export function areaDel(contaminatedAreaId) {
    return request({
        url: `/noent/contaminated/area/del/${contaminatedAreaId}`,
        method: 'get'
    })
}
// 用车大户  删除
export function userDel(vehicleRichUserId) {
    return request({
        url: `/noent/vehicle/user/del/${vehicleRichUserId}`,
        method: 'get'
    })
}
// 堆场、弃土场  删除
export function yardDel(yardSpoilGroundId) {
    return request({
        url: `/noent/yard/del/${yardSpoilGroundId}`,
        method: 'get'
    })
}
// 其他  删除
export function otherDel(noentOtherId) {
    return request({
        url: `/noent/other/del/${noentOtherId}`,
        method: 'get'
    })
}